package org.springboot.szsrcb.entity;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Test_work_log {
    private int id;
    private int test_id;
  
    private String user_name;
    private Date work_date;
 
    private String work_log;

	
    public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}


	public int getTest_id() {
		return test_id;
	}
	public void setTest_id(int test_id) {
		this.test_id = test_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public Date getWork_date() {
		return work_date;
	}
	public void setWork_date(String  work_date) {
		//this.work_date = work_date;
		try{
			SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
			this.work_date = sdf.parse(work_date);
		}catch(java.text.ParseException e){
			System.out.println(e.getMessage());
		}
	}
	public String getWork_log() {
		return work_log;
	}
	public void setWork_log(String work_log) {
		this.work_log = work_log;
	}


	
}
